package com.example.mvvmapplication.api

import com.example.mvvmapplication.domain.ResultData
import com.example.mvvmapplication.domain.SellBean
import retrofit2.http.GET
import retrofit2.http.Path

/**
 *
 * @ClassName:      ISunOfBeachShopService$
 * @Description:    java类作用描述
 * @Author:         xinya
 * @CreateDate:     2020/11/3$ 16:54$
 * @UpdateRemark:   更新内容
 * @Version:        1.0
 */
interface ISunOfBeachShopService {
    companion object {
        const val BASE_URL = "https://api.sunofbeach.net/shop/"
    }

    @GET("onSell/{page}")
    suspend fun getOnSellList(@Path("page") page: Int): ResultData<SellBean>
}
